﻿using System.Windows;

namespace MediaBrowser.CustomControls.CustomEvent
{
    public delegate void GenericEvent(object sender);

    public delegate void GenericEventHandler(object sender,
        GenericEventArgs e);

    public class GenericEventArgs : RoutedEventArgs
    {
        public object Sender { get; set; }

        public GenericEventArgs(RoutedEvent routedEvent,
            object sender)
            : base(routedEvent)
        {
            this.Sender = sender;
        }
    }
}
